#!/usr/bin/env python
# -*- coding: utf-8 -*-

# created by: lavenliu
# created date: 2015-12-31

import sys
import urllib2

BUFSIZE = 1024

req = urllib2.Request(sys.argv[1])
fd = urllib2.urlopen(req)

while True:
    data = fd.read(BUFSIZE)
    if not len(data):
        break
    sys.stdout.write(data)
